//
//  IMBaseModel.m
//  Btpin
//
//  Created by Vic on 2019/4/21.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "IMBaseModel.h"

@implementation IMBaseModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.id = [UIToolsControl dataAnalysis:keyedValues[@"id"]];
    self.room_id = [UIToolsControl dataAnalysis:keyedValues[@"room_id"]];
    self.video_time = [UIToolsControl dataAnalysis:keyedValues[@"video_time"]];
    self.expire_time = [UIToolsControl dataAnalysis:keyedValues[@"expire_time"]];
    self.chat_time = [UIToolsControl dataAnalysis:keyedValues[@"chat_time"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    IMBaseModel *model = [[[self class] allocWithZone:zone] init];
    model.id = self.id;
    model.room_id = self.room_id;
    model.video_time = self.video_time;
    model.expire_time = self.expire_time;
    model.chat_time = self.chat_time;
    
    return model;
}

@end
